/***************************************************************************//**
 * @file mac_packetHandle.h
 * @brief for mac 
 * @author ze .
 * @date  2022/7/03.
 * @copyright Copyright 
 ******************************************************************************/

#ifndef _MAC_PACKETHANDLE_H_
#define _MAC_PACKETHANDLE_H_

#include "stdint.h"
#include "stdbool.h"
//#include "bsp_rf.h"


#define MAC_LAYER_PACKET_SYNC_TIME_OFFSET  1

#define PRINTF_PACKET(a)        printf("%02x,%02x,%02x\r\n",a[5+MAC_LAYER_PACKET_SYNC_TIME_OFFSET],a[6+MAC_LAYER_PACKET_SYNC_TIME_OFFSET],a[7+MAC_LAYER_PACKET_SYNC_TIME_OFFSET]); //for(int i=0;i<=a[0];i++){printf("%02x,",a[i]);} printf("\r\n");

#define PRINTF_ALL_COMPILER
#define PRINTF_IMPORTANT_COMPILER

bool get_mac_printf_log(void);


#endif//
